#!/bin/bash

# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
curl -fsSL https://get.docker.com | bash -s docker
# 启动docker service
systemctl enable docker
systemctl start docker
# systemctl status docker

# 安装 apt-transport-https curl
apt-get update && apt-get install -y apt-transport-https curl